<!--{include file='header.htm'}-->
<!--{include file='wei.htm'}-->
	
<br/>
 <table width="790" border="0" cellpadding="0" cellspacing="0">
<form name='test' id='test' method="post" action='<!--{url controller='User' action='SaveUser'}-->'>
 <input type="hidden" name="user_id" id="user_id" value="<!--{$user.user_id}-->"/>
      <tr>
        <td colspan="2" align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="box">
              <td width="733" height="2" ></td>
            </tr>
            <tr>
              <td align="center" valign="top" ><table width="100%"  border="0" cellpadding="0" cellspacing="0" class="l18">
            <tr>
              <td height="20" colspan="5" bgcolor="#D8F8FF" ><font style="font-size:14px ">◆ 编辑用户。</font></td>             
            </tr>	

				   <tr>
                    <td height="35" align="right" class="boxb">用户名：</td>
                    <td colspan="3" class="pad">
					<input type="text" name="username" id="username" value="<!--{$user.username}-->"/>
				</td>
                  </tr>	

				    <!--{if !$user.user_id}-->
				    <tr>
                    <td height="35" align="right"  class="boxb">密&nbsp;码：</td>
                    <td colspan="3"  class="pad">
					<input type="password" name="password" id="password" value="<!--{$user.password}-->"/>
					</td>
                  </tr>		
				<!--{/if}-->

				   <tr>
                <td width="15%" height="35" align="right"  class="boxb">Email：</td>
                <td width="85%" colspan="3"  class="pad"><input type="text" name="email" id="email" value="<!--{$user.email}-->"/>
				</td>
                  </tr>		
				

				   <tr>
                    <td height="35" align="right"  class="boxb">所属角色：</td>
                    <td colspan="3"  class="pad">
					<!--{section name=i loop=$roles}-->
						<input type="checkBox" name="roles[]" id="roles" value="<!--{$roles[i].role_id}-->" <!--{if $roles[i].checked==1}--> checked="checked"<!--{/if}--> /><!--{$roles[i].roledes}--> &nbsp;
					<!--{/section}-->
					</td>
                  </tr>						 
				
				    <tr>
                    <td height="35" colspan="4" align="right" bgcolor="#D8F8FF" class="boxb"><div align="center"><input type="submit" name="submit" id="submit" value="确定" /></div></td>						
                  </tr>
				  </form>
</html>